package com.example.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>数据库表名: rbac_manager</p>
 *
 * @author fyx
 */
@Data
public class Manager implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull(message = "id不能为空")
    private Integer id;
    private String account;
    private String password;
    private String status;
    private Integer roleId;
    /**
     * 角色集合
     */
    private String roles;
}